package com.link.base.base.saleactivity.service;
/*
 * createdby: wangdawei
 * created: 2018-11-20
 * comments:
 */

import com.link.base.base.saleactivity.model.AccntCampMonitor;
import com.link.core.basic.service.BasicService;

import java.util.List;

public interface AccntCampMonitorService extends BasicService<AccntCampMonitor> {
    /**
     * 查出记录并用客户去重
     * @param accntCampMonitor
     * @return
     */
    List<AccntCampMonitor> queryByExampleList(AccntCampMonitor accntCampMonitor) throws Exception;

    /**
     * 查询客户参与活动列表
     * @param record
     * @return
     * @throws Exception
     */
    List<AccntCampMonitor> queryListPage(AccntCampMonitor record) throws Exception;

    /**
     * 查询客户参与活动详情
     * @param record
     * @return
     * @throws Exception
     */
    AccntCampMonitor queryDetailById(AccntCampMonitor record) throws Exception;

    /**
     * 创建客户点击记录
     * @author 路江
     * @param activityId 活动id
     * @param receiveChannel 渠道
     * @throws Exception
     */
    public void insertClickRecord(Long activityId,String receiveChannel,String type) throws Exception;
}
